You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Dew.Math.Units Namespace > Classes > Math387 Class > Math387 Methods > FormatSample Method > Math387.FormatSample Method (double, [In] string)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Math387.FormatSample Method (double, [In] string)

The double number X formated as string.

Syntax
C#
Visual Basic
public static string FormatSample(double X, [In] string Format);

the double number, formated as string.

The Format parameter defines the valid format string. This function is similar to Delphi FormatFloat function, but it also supports single precision type by displaying only 7 valid digits instead of Delphi FormatFloat 15 valid digits.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!